package Java练习.面向对象综合练习.继承.练习;

public class cook extends Person {
        public cook() {
        }

        public cook(String workID, String name, double workMOney) {
                super(workID, name, workMOney);
        }


        @Override
        public void work() {
                System.out.println("炒菜");
        }

}
